package com.lhj.es.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author linghaijin
 * @date 2020-05-06 14:58
 */
@Controller
public class IndexController {

    @RequestMapping("/")
    public String book() {
        return "list";
    }

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

}
